package com.buddies.lottery.ui.login;

import com.buddies.lottery.base.IPresenter;
import com.buddies.lottery.base.IView;
import com.buddies.lottery.data.bean.User;

/**
 * Created by xuliang on 2018/2/28.
 */

public interface LoginContract {

    interface View extends IView {
        void onLoginSuccess(User user);
    }

    interface Presenter extends IPresenter<View> {
        void postLogin(String loginId, String password);
    }

}
